<template>
	<view class="home">
		<!-- 		<text>这是关于我们界面</text>
		<text>用于显示小组成员的信息</text> -->
		<view class="aboutUs">
			<text>BOSS直拒小组成员</text>
			<uni-table stripe emptyText="暂无更多数据">

				<uni-tr v-for="item in team">
					<uni-th>{{item.name}}</uni-th>
					<uni-td>{{item.work}}</uni-td>
				</uni-tr>

			</uni-table>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				team: []
			}
		},
		onLoad() {
			uni.setNavigationBarColor({
				frontColor: "#000000",
				backgroundColor: '#00b4b3'
			});
			this.team = this.$store.state.team
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.home{
		background: gainsboro;
		height: 92vh;
		width: 100vw;
	}
	.aboutUs {
		text-align: center;
		padding-top: 10vh;
		font-size: 56rpx;
		
		uni-table {
			display: flex;
			flex-direction: row;
			width: 100vw;
			height: 40vh;
			justify-content: center;
			align-items: center;
			font-size: 38rpx;
			uni-tr {
				padding: 20rpx;
				uni-td {
					// position: absolute;
					padding-top: 40rpx;
					float: left;
					width: 100%;
				}
			}


		}
	}
</style>